package ru.niir.goodfil.audit.util;

public class PropertyHistory {
    private final String propertyName;
    private final Object oldValue;
    private final Object newValue;

    public PropertyHistory(String propertyName, Object oldValue, Object newValue) {
        this.propertyName = propertyName;
        this.oldValue = oldValue;
        this.newValue = newValue;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public Object getOldValue() {
        return oldValue;
    }

    public Object getNewValue() {
        return newValue;
    }
}
